package org.example.user.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.example.user.domain.Dept;
import org.example.user.service.DeptService;
import org.example.user.mapper.DeptMapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author 86151
* @description 针对表【t_dept】的数据库操作Service实现
* @createDate 2024-05-22 11:54:01
*/
@Service
public class DeptServiceImpl extends ServiceImpl<DeptMapper, Dept>
    implements DeptService{

    @Override
    public List<Dept> listAll(Dept dept) {
        return baseMapper.listAll(dept);
    }

    @Override
    public List<Dept> listDepts() {
        return baseMapper.listDepts();
    }

    @Override
    public void delAll(String id) {
        baseMapper.delAll(id);
    }
}




